package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆id
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 车牌号
     */
    private String carNumber;

    /**
     * 主人id
     */
    private Integer carOwner;

    /**
     * 车辆型号
     */
    private String carModel;

    /**
     * 主人所在表名
     */
    private Integer carPerms;

    /**
     * 车辆缴费账单id
     */
    private Integer carinfoId;


    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public Integer getCarOwner() {
        return carOwner;
    }

    public void setCarOwner(Integer carOwner) {
        this.carOwner = carOwner;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public Integer getCarPerms() {
        return carPerms;
    }

    public void setCarPerms(Integer carPerms) {
        this.carPerms = carPerms;
    }

    public Integer getCarinfoId() {
        return carinfoId;
    }

    public void setCarinfoId(Integer carinfoId) {
        this.carinfoId = carinfoId;
    }

    @Override
    public String toString() {
        return "Car{" +
        "carId=" + carId +
        ", carNumber=" + carNumber +
        ", carOwner=" + carOwner +
        ", carModel=" + carModel +
        ", carPerms=" + carPerms +
        ", carinfoId=" + carinfoId +
        "}";
    }
}
